<?php
namespace app\admin\service\interface;
interface ModelService{
    public function add(string $name, string $table);
    public function edit(int $id, string $name, string $table);
    public function delete();
    public function sync_table();
    public function filed_add(int $model_id, string $field_name, string $field_type, string $date_type,string $label="");
    public function filed_edit(int $field_id,int $model_id, string $field_name, string $field_type, string $date_type,string $label="");
    public function filed_delete(int $field_id);

}